<template>
<div>
    <el-button type="primary" icon="el-icon-plus" :size="size" @click="singleChoice(index,index1,fid,question)">单选题
    </el-button>
    <el-button type="primary" icon="el-icon-plus" :size="size" @click="multipleChoice(index,index1,fid,question)">多选题
    </el-button>
    <el-button type="primary" icon="el-icon-plus" :size="size" @click="judgmentChoice(index,index1,fid,question)">判断题
    </el-button>
    <el-button type="primary" icon="el-icon-plus" :size="size" @click="completionChoice(index,index1,fid,question)">填空题
    </el-button>
    <el-button type="primary" icon="el-icon-plus" :size="size" @click="questionChoice(index,index1,fid,question)">问答题
    </el-button>
    <el-button  v-show="fid === null" type="primary" icon="el-icon-plus" :size="size" @click="combinationChoice(index,index1,fid)">复合题
    </el-button>

</div>
</template>

<script>
import {questionComponents} from "@/views/models/exam/questionBase/question/mixins/question";

export default {
    name: "QuestionBtnBox",
    mixins: [questionComponents],
    props: {
        index: {
            type: Number,
            default: null,
        },
        index1: {
            type: Number,
            default: -1,
        },
        fid: {
            type: String,
            default: null,
        },
        size:{
            type:String,
            default:"mini"
        },
        question:{
            type: Object,
            default: null,
        }
    },
}
</script>

<style scoped>

</style>
